package com.easy.order;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient//开启 注册服务
@EnableDubbo
@ComponentScan(basePackages = {"com.easy.common.config.mybatis","com.easy.order"})
public class OrderApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(OrderApplication.class,args);
    }
}













